
#CC = mipsel-linux-gcc
CC = gcc

#EXT_LIBS = libosd.a
#EXT_LIBS += libnexus_10m.a



OBJ_C = aa.c \
	bb.c 

APP = 11

MSGSND = msgsnd
MSGRCV = msgrcv
MSG_TEST = 1msg
MSG_SOCKET = smsg

make:
	$(CC) -static -o $(APP) $(OBJ_C) $(EXT_LIBS) -lpthread
	$(CC) -o $(MSG_TEST) msg_test.c -lpthread
	$(CC) -o $(MSG_SOCKET) msg_socket.c -lpthread
	#$(CC) -o $(MSGSND) msgsnd.c

	#$(CC) -o $(MSGRCV) msgrcv.c
make app:
	$(CC) -o $(APP) $(OBJ_C) $(EXT_LIBS) -lpthread
clean:
	rm *.o 
	rm xx

